<!DOCTYPE html>
<html>

<head>
<title>添加代理</title>
<meta http-equiv="Pragma" CONTENT="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="renderer" content="webkit">

<%include("/common/include.html"){}%>
<style type="text/css">
	.required{
		display:inline-block;
		width: 30%;
	}
	.requiredx{
		display:inline-block;
		width: 89%;
	}
	label{
		text-align:right;
		width:70px;
		display:inline-block;
	}
</style>
</head>

<body>
	<div class="easyui-panel" style="width: 100%; padding: 30px 60px; border-width: 0px;">
		<form id="upProduct" method="post" class="form">
				<div style="margin-bottom: 20px">
					
					
					<input type="hidden" name="productOrgExperience.ids" value="${productOrgExperience.ids! }" />
					
				</div>
			
				<div style="margin-bottom: 20px">
					<label class="label-top">总使用次数:</label>
					<div class="required">
						<input id = "zcs" class="easyui-numberspinner inputBox theme-textbox-radius" required="true" data-options="increment:0.1,min:0.1,max:200,precision:1"   value="${productOrgExperience.totalExperience !}" style="width: 100%;" name="productOrgExperience.totalExperience"   >
					</div>
					<!-- <span style="color:red">*必填项</span> -->
					
					
				</div>
					<div style="margin-bottom: 20px">
					<label class="label-top">胳膊次数:</label>
					<div class="required">
						<input id = "gbcs" class="easyui-numberspinner inputBox theme-textbox-radius" required="true" data-options="increment:0.1,min:0.1,max:50,precision:1"  value="${productOrgExperience.gbExperience !}" style="width: 100%;" name="productOrgExperience.gbExperience"   >
					</div>
				<!-- 	<span style="color:red">*必填项</span> -->
					
			
					<label class="label-top">腰部次数:</label>
					<div class="required">
						<input id = "ybcs" class="easyui-numberspinner inputBox theme-textbox-radius" required="true" data-options="increment:0.1,min:0.1,max:50,precision:1"   value="${productOrgExperience.ybExperience !}" style="width: 100%;" name="productOrgExperience.ybExperience"   >
					</div>
					<!-- <span style="color:red">*必填项</span> -->
				</div>
				
				
				
					
					<div style="margin-bottom: 20px">
					<label class="label-top">大腿次数:</label>
					<div class="required">
						<input id = "dtcs" class="easyui-numberspinner inputBox theme-textbox-radius" required="true" data-options="increment:0.1,min:0.1,max:50,precision:1"   value="${productOrgExperience.dtExperience !}" style="width: 100%;" name="productOrgExperience.dtExperience"   >
					</div>
					<!-- <span style="color:red">*必填项</span> -->
					
			
					<label class="label-top">小腿次数:</label>
					<div class="required">
						<input id = "xtcs" class="easyui-numberspinner inputBox theme-textbox-radius" required="true" data-options="increment:0.1,min:0.1,max:50,precision:1"   value="${productOrgExperience.xtExperience !}"  style="width: 100%;" name="productOrgExperience.xtExperience"   >
					</div>
					<!-- <span style="color:red">*必填项</span> -->
				</div>
				
				
					
					<div style="margin-bottom: 20px">
					<label class="label-top">背部次数:</label>
					<div class="required">
						<input id = "bbcs" class="easyui-numberspinner inputBox theme-textbox-radius" required="true" data-options="increment:0.1,min:0.1,max:50,precision:1"   value="${productOrgExperience.bbExperience !}"  style="width: 100%;" name="productOrgExperience.bbExperience"   >
					</div>
					<!-- <span style="color:red">*必填项</span> -->
					
			
					<label class="label-top">胯部次数:</label>
					<div class="required">
						<input id = "kbcs" class="easyui-numberspinner inputBox theme-textbox-radius" required="true" data-options="increment:0.1,min:0.1,max:50,precision:1"   value="${productOrgExperience.kbExperience !}"  style="width: 100%;" name="productOrgExperience.kbExperience"   >
					</div>
					<!-- <span style="color:red">*必填项</span> -->
				</div>
				
				
					<div style="margin-bottom: 20px">
					<label class="label-top">副乳次数:</label>
					<div class="required">
						<input id = "frcs" class="easyui-numberspinner inputBox theme-textbox-radius" required="true" data-options="increment:0.1,min:0.1,max:50,precision:1"  value="${productOrgExperience.frExperience !}"  style="width: 100%;" name="productOrgExperience.frExperience"   >
					</div>
					<!-- <span style="color:red">*必填项</span> -->
					
			
				</div>
		</form>

	</div>
	
	<script type="text/javascript">
		function showPart() {
			$('#win').window('open');
		}
		//@ sourceURL=mmm.js
		var $form = $('#upProduct');

		var submitNow = function($dialog, $grid, $tree, $pjq) {
			var dtcs = $("#dtcs").val();
			var zcs = $("#zcs").val();
			var xtcs = $("#xtcs").val();
			var ybcs = $("#ybcs").val();
			var gbcs = $("#gbcs").val();
			var frcs = $("#frcs").val();
			var bbcs = $("#bbcs").val();
			var kbcs = $("#kbcs").val();
			if(zcs==null||zcs==''){
				$.alert($pjq,"总次数不能为空");
				return false;
			}
			//$("#partVal").html($("#partText").html());
			var url = "${cxt!}/productOrgExperience/upProduct";
			$.post(url, sy.serializeObject($form), function(result) {
				if (result.code == '200') {
					$grid.datagrid('reload');
					$.slideMsg("修改成功！", $pjq);
					$dialog.dialog('destroy');
				} else {
					$.alert($pjq, result.msg);
				}
			}, 'json');
		};
		var submitForm = function($dialog, $grid, $tree, $pjq) {
			submitNow($dialog, $grid, $tree, $pjq);
			// 					$form.isValid(function(isValied){
			// 						if(isValied){
			// 							submitNow($dialog, $grid, $pjq);
			// 						}
			// 					});
		};
	</script>
</body>
</html>